namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0013 : DbMigration
    {
        public override void Up()
        {
            AlterColumn("dbo.IcmBid", "BidDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "ConfirmDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "CancelDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "AnnounceDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "ReceiveDateStart", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "ReceiveDateEnd", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "BuildingDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "ExplainDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "OfferDateStart", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "OfferDateEnd", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "DiscloseDate", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "CreatedWhen", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "UpdatedWhen", c => c.DateTime(storeType: "datetime2"));
            AlterColumn("dbo.IcmBid", "ApprovedWhen", c => c.DateTime(storeType: "datetime2"));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.IcmBid", "ApprovedWhen", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "UpdatedWhen", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "CreatedWhen", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "DiscloseDate", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "OfferDateEnd", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "OfferDateStart", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "ExplainDate", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "BuildingDate", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "ReceiveDateEnd", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "ReceiveDateStart", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "AnnounceDate", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "CancelDate", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "ConfirmDate", c => c.DateTime());
            AlterColumn("dbo.IcmBid", "BidDate", c => c.DateTime());
        }
    }
}
